/**
 * app样式
 */
@import './preset.scss';
@import '../deps/styles/elment-ui.scss';
@import '../deps/styles/right-table.scss';
@import '../deps/styles/search-main.scss';

.clearfix {
  zoom: 1;
  &:before, &:after {
    content: "";
    display: table;
  }
  &:after {
    clear: both;
  }
}

html, body, .app {
  height: 100%;
}

.app-body {
  height: calc(100% - 40px);
  padding-top: 40px;
  box-sizing: content-box;
}

.page-registry__scope, .page-login__scope {
  background: url('../deps/public/loginBg.png') no-repeat;
  background-size: cover;
  height: 100%;
  .main-page {
    background: none;
    padding: 0;
  }
  .app-body, .page-transition {
    height: 100%;
    padding: 0;
  }
}

.page-transition {
  height: 100%;
  & > div {
    height: 100%;
  }
  .list-table {
    margin: -20px;
  }
}

.mini-page {
  margin-left: 64px;
}

.nomenu-page {
  margin-left: 0px;
}

body {
  background: #f2f3f5;
  min-width: 1320px;
  
  div {
    box-sizing: border-box;
  }
  
  a {
    color: var(--color-primary);
    &:hover {
      opacity: 0.8;
      color: var(--color-primary);
    }
  }
  .leaflet-touch .leaflet-bar a {
    width: 20px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
  }
  .rel-node-shape-1 {
    padding: 0;
    .rel-node-shape-body {
      width: 20px;
      padding: 8px 16px;
      position: relative;
      z-index: 999;
      display: flex;
      align-items: center;
    }
  }
  
  .custom-dialog {
    position: absolute;
    resize: none;
    overflow: hidden;
    
    .resize-handle {
      position: absolute;
      width: 10px;
      height: 10px;
      right: 0;
      bottom: 0;
      cursor: nwse-resize;
      background: transparent;
      z-index: 1;
    }
  }
  ::-webkit-scrollbar {
    width: 5px;
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 7px;
  }
} 